﻿using System.Collections.ObjectModel;
using System.Windows;
using System.Windows.Controls;

namespace TestMeterialDesign
{
    /// <summary>
    /// TaskExpander.xaml 的交互逻辑
    /// </summary>
    public partial class TaskExpander : UserControl
    {
        public static readonly DependencyProperty ItemsProperty =
        DependencyProperty.Register("Items", typeof(ObservableCollection<object>), typeof(TaskExpander), new PropertyMetadata(null));

        public ObservableCollection<object> Items
        {
            get { return (ObservableCollection<object>)GetValue(ItemsProperty); }
            set { SetValue(ItemsProperty, value); }
        }

        public TaskExpander()
        {
            InitializeComponent();
        }
    }
}
